package pumpkin.shell;

import pumpkin.ast.Expr;
import pumpkin.evt.Environment;
import pumpkin.word.TokenSource;

public class Excuter {
	public Object excute(Environment env,String src) {
		TokenSource tokenSource=new TokenSource(src);
		Expr expr= new Expr();
		expr.build(tokenSource);
		return expr.excute(env);
	}
}
